Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / ResizeBy(DrawingObject,DrawingObject[],ResizeAnchor,Double,Double,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Nullable<Boolean>) Method
The drawing objects to calculate aspect ratio.
The drawing objects to resize.
The horizontal distance to resize the drawing object.
The vertical distance to resize the drawing object.


In This Topic
    ResizeBy(DrawingObject,DrawingObject[],ResizeAnchor,Double,Double,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Nullable<Boolean>) Method
    In This Topic
    Resize the specified drawing objects by both of horizontal and vertical.
    Syntax
    'Declaration
     
    
    Public Sub ResizeBy( _
       ByVal activeDrawingObject As DrawingObject, _
       ByVal drawingObjects() As DrawingObject, _
       ByVal _resizeAnchor As ResizeAnchor, _
       ByVal horizontal As Double, _
       ByVal vertical As Double, _
       Optional ByVal inflate As Boolean, _
       Optional ByVal byScale As Boolean, _
       Optional ByVal autoLayout As Boolean, _
       Optional ByVal cutoff As Boolean, _
       Optional ByVal applyDisplayFormulas As Boolean, _
       Optional ByVal isRightToLeft As Boolean, _
       Optional ByVal lockAspectRatio As Nullable(Of Boolean) _
    ) 
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim activeDrawingObject As DrawingObject
    Dim drawingObjects() As DrawingObject
    Dim _resizeAnchor As ResizeAnchor
    Dim horizontal As Double
    Dim vertical As Double
    Dim inflate As Boolean
    Dim byScale As Boolean
    Dim autoLayout As Boolean
    Dim cutoff As Boolean
    Dim applyDisplayFormulas As Boolean
    Dim isRightToLeft As Boolean
    Dim lockAspectRatio As Nullable(Of Boolean)
     
    instance.ResizeBy(activeDrawingObject, drawingObjects, _resizeAnchor, horizontal, vertical, inflate, byScale, autoLayout, cutoff, applyDisplayFormulas, isRightToLeft, lockAspectRatio)

    Parameters

    activeDrawingObject
    The drawing objects to calculate aspect ratio.
    drawingObjects
    The drawing objects to resize.
    _resizeAnchor
    horizontal
    The horizontal distance to resize the drawing object.
    vertical
    The vertical distance to resize the drawing object.
    inflate
    byScale
    autoLayout
    cutoff
    applyDisplayFormulas
    isRightToLeft
    lockAspectRatio
    See Also